package com.mes.biz.mapper;

import com.mes.common.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import com.mes.biz.domain.BizWarehouse;

import java.util.List;

/**
 * 仓库Mapper接口
 * @author hwg
 * @email hwg
 * @date 2023-04-01
 */
public interface BizWarehouseMapper extends BaseMapper<BizWarehouse>
{

    /**
     * 批量删除仓库
     * @param ids 需要删除的仓库ID集合
     * @return
     */
    public int deleteBizWarehouseByIds(@Param("ids") String[] ids, @Param("DEL_FLAG_DELETE") String DEL_FLAG_DELETE);


    public List<BizWarehouse> allListByProductId(@Param("productId") String productId);

}
